package com.inspinia.base.util;

/**
 * @author fengwx
 */
public class HttpException extends RuntimeException {

    private int errcode;


    public HttpException(String message) {
        super(message);
    }


    public HttpException(int errcode, String errdesc) {
        super(errdesc);
        this.errcode = errcode;
    }


    public int getErrcode() {
        return errcode;
    }


}
